<template>
  <view>
    <view class="w100 p-all-40 rowsb rowsm" style="border-bottom: 4rpx solid #F7F6FA;">
      <view class="fs-26 col333 fw-b">考试成绩</view>
      <view class="fs-30 fw-b" style="color: #4878FF;">40分</view>
    </view>
    <view class="w100 p-all-40 rowsb rowsm" style="border-bottom: 4rpx solid #F7F6FA;" @click="goCourse()">
      <view class="fs-26 col333 fw-b">平时成绩</view>
      <view class="fs-30 fw-b" style="color: #4878FF;">30分</view>
    </view>
    <view class="w100 p-all-40" style="border-bottom: 4rpx solid #F7F6FA;">
      <view class="fs-26 col333 fw-b mb-20">成绩分析</view>
      <view class="fs-28 col888">总成绩（70分/100分）=平时成绩（30分/50分）+考试成绩（40分/50分）</view>
    </view>
    
    <view class="fs-26 col333 fw-b mb-20 pt-40 pl-40 mb-28">考试试题</view>
    
    <view class="w100 rowsc rowsm">
      <view class="w-460 h-88 br-44 rowsc rowsm" style="border: 2rpx solid #487FFF;" @click="$refs.popup.open()">
        <image src="/static/newPages/icon_xz.png" class="w-32 h-32 mr-12" mode=""></image>
        <view class="fs-30 fw-b" style="color: #4878FF;">在线考试试卷下载</view>
      </view>
    </view>
    
    
    <uni-popup ref="popup" type="center">
      <view class="w-566 h-372 relative">
        <image src="/static/newPages/icon_x.png" class="w100 h100" mode=""></image>
        <view class="w100 rowsb rowsm pl-40 pr-40 absolute" style="left: 0;bottom: 40rpx;">
          <view class="w-226 h-74 br-37 rowsc rowsm fs-30" style="color: #4878FF;border: 2rpx solid #487FFF;" @click="$refs.popup.close()">取消</view>
          <view class="w-226 h-74 br-37 rowsc rowsm fs-30 colfff fw-b" style="background-color: #4878FF;" @click="$refs.popup.close()">确定</view>
        </view>
      </view>
    </uni-popup>
  </view>
</template>

<script>
  export default {
    data() {
      return {
        
      };
    },
    methods:{
      goCourse(){
        uni.navigateTo({
          url:'/pages/course/course'
        })
      }
    }
  }
</script>

<style lang="scss">
page {
  background-color: #fff;
}
</style>-
